package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;

@Component
@DisconfFile(targetDirPath = "disconf", filename = "pengyuan.properties")
public class PengyuanProperties {

//    http://211.211.1.69:3129/services/WebServiceSingleQueryOfUnzip
//    https://test.pycredit.com:9443/services/WebServiceSingleQueryOfUnzip
    /**
     * 公积金接口
     */
    private String webserviceUrl = "https://211.211.1.69:8443/services/WebServiceSingleQuery?wsdl";

    private String userId;

    private String password;

    @DisconfFileItem(name = "pengyuan.webserviceUrl", associateField = "webserviceUrl")
    public String getWebserviceUrl() {
        return webserviceUrl;
    }

    public void setWebserviceUrl(String webserviceUrl) {
        this.webserviceUrl = webserviceUrl;
    }

    @DisconfFileItem(name = "pengyuan.userId", associateField = "userId")
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @DisconfFileItem(name = "pengyuan.password", associateField = "password")
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
